package com.wasion.gydpe.dao;

import java.util.List;
import java.util.Map;

import com.wasion.gydpe.exception.DataAccessException;
import com.wasion.gydpe.model.Resource;

/**
 * 
 * @ClassName: WelcomeDao
 * @Description: 登录初始化数据访问层接口Dao
 * @author 高意
 * @date Sep 25, 2012 10:05:04 AM
 * 
 */
public interface WelcomeDao {

	/**
	 * 
	 * @Title: queryResources
	 * @Description: 查询访问资源，即功能菜单
	 * @param
	 * @return
	 * @throws
	 */
	public List<Resource> queryResources(Map<String, Object> paramsMap)
			throws DataAccessException;

	/**
	 * 
	 * @Title: login
	 * @Description: 用户登录
	 * @param
	 * @return
	 * @throws
	 */
	public boolean login(Map<String, Object> paramsMap)
			throws DataAccessException;
}
